package org.mall.modules.shop.entity;

import io.swagger.annotations.ApiModel;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotNull;

/**
 * @Description: 店铺店员关联关系
 * @Author: jeecg-boot
 * @Date:   2019-10-30
 * @Version: V1.0
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="sp_shop_clerk_relationship对象", description="店铺店员关联关系")
public class ShopClerkRelationShipDTO {
    
	/**id*/
	private String id;
	/**店员id*/
	@NotNull(message = "店员ID不能为空")
	private String clerkId;
	/**店铺id*/
	@Length(min = 1,max = 32,message = "店铺ID不合法")
	@NotNull(message = "店铺ID不能为空")
	private String shopId;
}
